package demo3;

public class Test {

    public static void main(String[] args) {
        IUSB iusb = new B();
        iusb.test();

        A a = new B();
        a.test1();
    }

    public static void main1(String[] args) {
        Computer computer = new Computer();

        Mouse mouse = new Mouse();
        Keyboard keyboard = new Keyboard();

        computer.openComputer();
        computer.USB(keyboard);
        computer.closeComputer();

    }
}
